
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">

	<title>Class Opencart\System\Library\Document | OpenCart API API</title>
	<link rel="stylesheet" href="http://localhost\opencart-master/docs/api/assets/main.css">
	<script src="http://localhost\opencart-master/docs/api/assets/main.js" defer></script>
</head>

<body class="layout">
	<div class="layout-aside">
	<div class="menu">
			<div class="menu-section">
				<h3>Namespaces</h3>
	<ul>
			<li class="menuGroup-item active">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.html">Opencart</a>
	<ul>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.html">Admin</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.html">Catalog</a>
			</li>
			<li class="menuGroup-item active">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.html">System</a>
	<ul>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Engine.html">Engine</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Helper.html">Helper</a>
			</li>
			<li class="menuGroup-item active">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.html">Library</a>
	<ul>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.Cache.html">Cache</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.Cart.html">Cart</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.DB.html">DB</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.Mail.html">Mail</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.Session.html">Session</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.Template.html">Template</a>
			</li>
	</ul>
			</li>
	</ul>
			</li>
	</ul>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-none.html">none</a>
			</li>
	</ul>
			</div>

		<div class="menu-section">
			<h3>Classes</h3>
			<ul>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Cache.html">
							Cache
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.DB.html">
							DB
						</a>
					</li>
					<li class="active">
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Document.html">
							Document
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Image.html">
							Image
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Language.html">
							Language
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Log.html">
							Log
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Mail.html">
							Mail
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Request.html">
							Request
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Response.html">
							Response
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Session.html">
							Session
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Template.html">
							Template
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Url.html">
							Url
						</a>
					</li>
			</ul>
		</div>
	</div>
	</div>

	<div class="layout-main">
		<div class="layout-navbar">
	<nav class="navbar">
		<div class="navbar-left">
			<ul class="navbar-links">
				<li>
					<a href="http://localhost\opencart-master/docs/api/index.html">Overview</a>
				</li>
				<li>
					
						<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.html">Namespace</a>
					
				</li>
<li class="active"><a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Document.html">Class</a></li>				<li>
					<a href="http://localhost\opencart-master/docs/api/tree.html">Tree</a>
				</li>
			</ul>
		</div>
		<div class="navbar-right">
	<div class="search" data-elements="http://localhost\opencart-master/docs/api/assets/elements.js">
		<input class="search-input" placeholder="Search class, function or namespace" autofocus>
		<ul class="search-results"></ul>
	</div>
		</div>
	</nav>
		</div>

		<div class="layout-content">
		<h1>
			Class <a href="http://localhost\opencart-master/docs/api/namespace-Opencart.html">Opencart</a>\<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.html">System</a>\<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.html">Library</a>\<a href="http://localhost\opencart-master/docs/api/Opencart.System.Library.Document.html">Document</a>
		</h1>


	<table class="classLikeSignatureTable">




	</table>
		<div class="classLikeDescription">
	<div class="description"><p>Class Document</p>
</div>
		</div>


		<div class="classLikeSection">
			<b>Located at</b> <a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#15" title="Go to source code">system\library\document.php</a><br>
		</div>



		<table class="table" id="methods">
			<tr>
				<th class="table-heading sortable" colspan="3" title="Switch between natural and alphabetical order">Methods</th>
			</tr>

	<tr class="expandable collapsed" data-order="setTitle" id="_setTitle">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#41-50" title="Go to source code">setTitle</a>(<span>string <var>$title</var></span>): void</code>


	<div class="expandable-collapsedView">
		<p>setTitle</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>setTitle</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_setTitle">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="getTitle" id="_getTitle">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#52-59" title="Go to source code">getTitle</a>(): string</code>


	<div class="expandable-collapsedView">
		<p>getTitle</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>getTitle</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_getTitle">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="setDescription" id="_setDescription">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#61-70" title="Go to source code">setDescription</a>(<span>string <var>$description</var></span>): void</code>


	<div class="expandable-collapsedView">
		<p>setDescription</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>setDescription</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_setDescription">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="getDescription" id="_getDescription">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#72-79" title="Go to source code">getDescription</a>(): string</code>


	<div class="expandable-collapsedView">
		<p>getDescription</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>getDescription</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_getDescription">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="setKeywords" id="_setKeywords">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#81-88" title="Go to source code">setKeywords</a>(<span>string <var>$keywords</var></span>): void</code>


	<div class="expandable-collapsedView">
		<p>setKeywords</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>setKeywords</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_setKeywords">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="getKeywords" id="_getKeywords">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#90-97" title="Go to source code">getKeywords</a>(): string</code>


	<div class="expandable-collapsedView">
		<p>getKeywords</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>getKeywords</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_getKeywords">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="addLink" id="_addLink">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#99-112" title="Go to source code">addLink</a>(<span>string <var>$href</var></span>, <span>string <var>$rel</var></span>): void</code>


	<div class="expandable-collapsedView">
		<p>addLink</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>addLink</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_addLink">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="getLinks" id="_getLinks">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#114-121" title="Go to source code">getLinks</a>(): array&lt;string, array&lt;string, string&gt;&gt;</code>


	<div class="expandable-collapsedView">
		<p>getLinks</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>getLinks</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_getLinks">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="addStyle" id="_addStyle">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#123-138" title="Go to source code">addStyle</a>(<span>string <var>$href</var></span>, <span>string <var>$rel</var> = <span class="php-str">'stylesheet'</span></span>, <span>string <var>$media</var> = <span class="php-str">'screen'</span></span>): void</code>


	<div class="expandable-collapsedView">
		<p>addStyle</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>addStyle</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_addStyle">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="getStyles" id="_getStyles">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#140-147" title="Go to source code">getStyles</a>(): array&lt;string, array&lt;string, string&gt;&gt;</code>


	<div class="expandable-collapsedView">
		<p>getStyles</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>getStyles</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_getStyles">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="addScript" id="_addScript">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#149-159" title="Go to source code">addScript</a>(<span>string <var>$href</var></span>, <span>string <var>$position</var> = <span class="php-str">'header'</span></span>): void</code>


	<div class="expandable-collapsedView">
		<p>addScript</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>addScript</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_addScript">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="getScripts" id="_getScripts">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.library.document.html#161-174" title="Go to source code">getScripts</a>(<span>string <var>$position</var> = <span class="php-str">'header'</span></span>): array&lt;string, array&lt;string, string&gt;&gt;</code>


	<div class="expandable-collapsedView">
		<p>getScripts</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>getScripts</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_getScripts">#</a>
		</td>
	</tr>
		</table>








		</div>

		<div class="layout-footer">
			OpenCart API API documentation generated by <a href="https://www.apigen.org">ApiGen dev-master</a>
		</div>
	</div>

	<div class="layout-rest">
		<div class="navbar"></div>
	</div>
</body>
</html>
